package domain

import "github.com/lab-online/internal/user/entity"

type UserRepository interface {
	SaveUser(entity.UserEntity) (entity.UserEntity, error)
	SaveManyUsers([]entity.UserEntity) ([]entity.UserEntity, error)

	DeleteUser(entity.UserEntity) error

	GetUserByUsername(string) (entity.UserEntity, error)
	GetUnscopedUserByUsername(string) (entity.UserEntity, error)
	GetUsers(entity.UserEntity) ([]entity.UserEntity, error)
}
